package com.virus.mall.model.bo;

import com.alibaba.druid.util.StringUtils;

/**
 * @Classname AdminLoginBo
 * @Description NULL
 * @Date 2021/4/13 10:15
 * @Created by virus
 */
public class AdminLoginBo {

    private String email;
    private String pwd;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public boolean valid() {
        if (StringUtils.isEmpty(this.email) || StringUtils.isEmpty(this.pwd)) {
            return false;
        }
        return true;
    }
}
